package com.hs.eric.mapper;

import com.hs.eric.entity.TreeItem;
import com.hs.eric.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Description:
 * User: eric
 * Date: 2015/4/10
 * Time: 22:38
 */
public interface UserMapper {


    List<User> getAllUsers();

    String selectAgentName(@Param("id") Long id);

    List<TreeItem> selectAgencyBeTree();
}
